﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace HF.WorkFlow.DataContract
{
    /// <summary>
    /// 处理者信息数据契约
    /// </summary>
    /// <remarks>描述处理者信息的数据契约</remarks>
    [DataContract]
    public class OperatorEntity
    {
        /// <summary>
        /// 处理者Id
        /// </summary>
        [DataMember]
        public string OperatorId { get; set; }
        /// <summary>
        /// 流程模板Id
        /// </summary>
        [DataMember]
        public string WorkFlowId { get; set; }
        /// <summary>
        /// 任务模板Id
        /// </summary>
        [DataMember]
        public string WorkTaskId { get; set; }
        /// <summary>
        /// 处理者类型
        /// </summary>
        [DataMember]
        public int OperType { get; set; }
        /// <summary>
        /// 处理者信息
        /// </summary>
        [DataMember]
        public string OperContent { get; set; }
        /// <summary>
        /// 与处理者的关系
        /// </summary>
        public int Relation { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        /// <summary>
        /// 处理者的显示信息，与OperContent对应
        /// </summary>
        [DataMember]
        public string OperDisplay { get; set; }
        /// <summary>
        /// 包含还是排除该处理者
        /// </summary>
        [DataMember]
        public bool InorExclude { get; set; }
        
    }
}
